<?php
class podcms_shop_category extends EDO_object_basic
{
	static $_typeid = 4;
	static $_tables = array('podcms_shop_categories');
	
	static $_relations = array
	(
		array(
		'name' => 'products',
		'type' => 'relation_has_many',
		'class_name' => 'podcms_shop_product',
		'foreign_key' => 'categoryid',
		'render_as' => 'link',
		'display' => '%name',
		'order' => 'name ASC',
		)
	);
    

    
}

	
	
	
	
	
	
	
	
	
	
